package com.trs.util;

@SuppressWarnings("serial")
public class AppRuntimeException extends RuntimeException {

	Integer tid;
	Integer sid;
	Integer code;

	public AppRuntimeException(String msg, Exception e) {
		super(msg, e);
	}

	public AppRuntimeException(String msg) {
		super(msg);
	}

	public AppRuntimeException(Integer code, Integer tid, Integer sid, String msg, Exception e) {
		super(msg, e);
		this.tid = tid;
		this.sid = sid;
		this.code = code;
	}

	public AppRuntimeException(Integer code, Integer tid, Integer sid, String msg) {
		super(msg);
		this.tid = tid;
		this.sid = sid;
		this.code = code;
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Integer getSid() {
		return sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	// @Override
	// public String toString() {
	// return "AppRuntimeException [tid=" + tid + ", sid=" + sid + ", code=" + code + "]";
	// }

}
